new DamageSource(world.holderOrThrow(${generator.map(field$damagetype, "damagesources")}), ${input$directcause}, ${input$cause})